#pragma once

#include "fractal.h"

#include <complex>

namespace fractals {
	class InverseJulia2 : public Fractal {
	public:
		InverseJulia2(complex<float> c);

		virtual void draw(bool &didClear);
		virtual void resize(unsigned int w, unsigned int h);
	private:
		bool dirty;
		complex<float> c;

		void draw(complex<float> z, unsigned int depth) const;
	};
}